import store from "./store";

import Hello from "./components/Hello";

export default function App() {
  // 1. 获取仓库的 state
  const state = store.getState();

  return (
    <div>
      <h1>App</h1>
      <p>MSG: {state.msg}</p>
      <p>COUNT: {state.count}</p>

      <hr />

      <Hello />
    </div>
  );
}
